<!DOCTYPE html>
<html lang="en" xmlns:th="https://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
        <h1>成功</h1>

<!--  th:text的意思是：将div中的文本内容替换为指定的内容-->
        <div th:text="${hello}">这是显示欢迎内容</div>

<hr/>

<div th:text="${hello}"></div>
<!--  会解释标签      -->
<div th:utext="${hello}"></div>

<hr/>

<h4 th:text="${users}" th:each="user : ${users}"></h4>

<hr/>

<h4>
    <span th:each="user : ${users}"> [(${user})] </span>
</h4>


</body>
</html>